Hi all,

I am hitting a slight imperfection in the new framedtable mechanism. Example included; question: is it possible to have the same behavior in cell frames as in the natural table in the third part of my example?

Thanks, and best wishes

Thomas

\starttext

\start
\setupframedtablecolumn [1] [width=3cm,align=normal]
\setupframedtablecolumn [2] [width=3cm,align={normal,verytolerant,stretch}]
\setupframedtablecolumn [3] [width=3cm,align=normal]
\setupframedtablecolumn [4] [width=3cm,align=normal]

\startframedtable
        \startframedrow
                \startframedcell
                        One
                \stopframedcell
                \startframedcell
                        Cell Two has a slightly longer text
                \stopframedcell
                \startframedcell
                        Three
                \stopframedcell
                \startframedcell
                        Four
                \stopframedcell
        \stopframedrow
\stopframedtable
\stop

\blank [line]

\start
\setupframedtablecolumn [1] [width=3cm,bottomframe=off,align=normal]
\setupframedtablecolumn [2] [width=3cm,bottomframe=off,align={normal,verytolerant,stretch}]
\setupframedtablecolumn [3] [width=3cm,bottomframe=off,align=normal]
\setupframedtablecolumn [4] [width=3cm,bottomframe=off,align=normal]

\startframedtable
        \startframedrow
                \startframedcell
                        One
                \stopframedcell
                \startframedcell
                        Cell Two has a slightly longer text
                \stopframedcell
                \startframedcell
                        Three
                \stopframedcell
                \startframedcell
                        Four
                \stopframedcell
        \stopframedrow
\stopframedtable
\stop

\blank [line]

\start

\setupTABLE [frame=on]
\setupTABLE [column] [1] [width=3cm,align=normal]
\setupTABLE [column] [2] [width=3cm,align={normal,vertolerant,stretch}]
\setupTABLE [column] [3] [width=3cm,align=normal]
\setupTABLE [column] [4] [width=3cm,align=normal]

\bTABLE
        \bTR
                \bTD
                        One
                \eTD
                \bTD
                        Cell Two has a slightly longer text
                \eTD
                \bTD
                        Three
                \eTD
                \bTD
                        Four
                \eTD
        \eTR
\eTABLE

\stop

\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to